package com.phoenix.jsef.security.browser;


import org.springframework.security.core.GrantedAuthority;

/**
 * @version V1.0
 * @ClassName: GrantedAuthorityImpl
 * @Description:TODO(权限封装)
 * @author: 李启联
 * @date: 2019-08-14 11:49
 * @Copyright: Copyright (c), 2018-2019
 * 申明：本内容未经作者本人同意,禁止外泄以及用于其他的商业项目.
 */
public class GrantedAuthorityImpl implements GrantedAuthority {
    private static final long serialVersionUID = 1L;

    private String authority;

    public GrantedAuthorityImpl(String authority) {
        this.authority = authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    @Override
    public String getAuthority() {
        return this.authority;
    }
}